[INFO] cloning repository https://github.com/LemonHX/optimistic_lock_coupling_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LemonHX/optimistic_lock_coupling_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Foptimistic_lock_coupling_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Foptimistic_lock_coupling_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1265a873371e39cd99818573cd94117ea3db66da
[INFO] fixing LemonHX/optimistic_lock_coupling_rs against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Foptimistic_lock_coupling_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LemonHX/optimistic_lock_coupling_rs
[INFO] finished tweaking git repo https://github.com/LemonHX/optimistic_lock_coupling_rs
[INFO] tweaked toml for git repo https://github.com/LemonHX/optimistic_lock_coupling_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LemonHX/optimistic_lock_coupling_rs on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LemonHX/optimistic_lock_coupling_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6
[INFO] running `Command { std: "docker" "start" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   syn v1.0.69 (as host dependency) removed features: full, visit
[INFO] [stderr] 
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling cast v0.2.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]     Checking plotters-backend v0.3.0
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking plotters-svg v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking plotters v0.3.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking rayon-core v1.9.0
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]     Checking rayon v1.5.0
[INFO] [stderr]     Checking bstr v0.2.15
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.3.4
[INFO] [stderr]    Migrating benches/benchmark.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling syn v1.0.69
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: feature `stmt_expr_attributes` is declared but not used
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stmt_expr_attributes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]     Checking criterion v0.3.4
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> benches/benchmarks/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                           ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&raw const LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let read = LOCK.as_ref().unwrap().read().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `stmt_expr_attributes` is declared but not used
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stmt_expr_attributes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 34 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 31 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 31 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr] The following differences only apply when building with dev-dependencies:
[INFO] [stderr] 
[INFO] [stderr]   syn v1.0.69 (as host dependency) removed features: full, visit
[INFO] [stderr] 
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/test.rs:44:27
[INFO] [stdout]     |
[INFO] [stdout]  44 |                     match (&LOCK).as_ref().unwrap().write() {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  45 |                         Ok(mut guard) => {
[INFO] [stdout]     |                            ---------
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `guard` calls a custom destructor
[INFO] [stdout]     |                            `guard` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  55 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:363:1
[INFO] [stdout]     |
[INFO] [stdout] 363 | impl<T: ?Sized> Drop for OptimisticLockCouplingWriteGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `guard` invokes this custom destructor
[INFO] [stdout]    --> src/lib.rs:363:1
[INFO] [stdout]     |
[INFO] [stdout] 363 | impl<T: ?Sized> Drop for OptimisticLockCouplingWriteGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating benches/benchmark.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                           ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&raw const LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let read = LOCK.as_ref().unwrap().read().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking optimistic_lock_coupling v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:44:27
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                           ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     match (&raw const LOCK).as_ref().unwrap().write() {
[INFO] [stdout]    |                             +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/test.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let read = LOCK.as_ref().unwrap().read().unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 37 -     static mut LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout] 37 +     static LOCK: Option<OptimisticLockCoupling<i32>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: feature `stmt_expr_attributes` is declared but not used
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(stmt_expr_attributes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `optimistic_lock_coupling` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BenchmarkId` and `ParameterizedBenchmark`
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{criterion_group, BenchmarkId, Criterion, Fun, ParameterizedBenchmark};
[INFO] [stdout]   |                                  ^^^^^^^^^^^                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> benches/benchmarks/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_read.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_read.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 2 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_heavy_write.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 43 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 43 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_heavy_write.rs:76:25
[INFO] [stdout]    |
[INFO] [stdout] 76 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 3 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_read_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 34 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             lock.as_ref().unwrap().get_all();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_read_only.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             lock.as_ref().unwrap().get2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]  --> benches/benchmarks/compare_write_only.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 |     static mut lock: Option<ListMutex> = None;
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 7 -     static mut lock: Option<ListMutex> = None;
[INFO] [stdout] 7 +     static mut LOCK: Option<ListMutex> = None;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `lock` should have an upper case name
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 31 |     static mut lock: Option<ListOLock> = None;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 31 -     static mut lock: Option<ListOLock> = None;
[INFO] [stdout] 31 +     static mut LOCK: Option<ListOLock> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             lock.as_ref().unwrap().set2();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             lock.as_ref().unwrap().set3();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> benches/benchmarks/compare_write_only.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |     unsafe { assert_eq!(lock.as_ref().unwrap().get2(), 5 * i) }
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `optimistic_lock_coupling` (bench "benchmark") due to 30 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6", kill_on_drop: false }`
[INFO] [stdout] cac9224654f9c921e70aaa75e1227cf4c27535aa4a047509b3583c88e54da6c6
